﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace CasinoApp.Tools
{
    /// <summary>
    /// Event-Argument, welches den zu stoppenden Slot der SlotMachine festhält.
    /// </summary>
    /// <param author="">Aeschlimann Thomas, 2011 AXA</param>  
    public class StopSlotRequestedEventArgs : EventArgs
    {
        #region Fields

        /// <summary>
        /// Speichert die Nummer des zu stoppenden Slots der SlotMachine.
        /// </summary>
        private int _slotNumber;

        #endregion // Fields

        #region Properties

        /// <summary>
        /// Gibt die Numemr des zu stoppenden Slots an oder ruft ihn ab.
        /// </summary>
        public int SlotNumber
        {
            get
            {
                return _slotNumber;
            }
            set
            {
                _slotNumber = value;
            }
        }

        #endregion // Properties

        #region Konstruktoren

        /// <summary>
        /// Konstruktor unter Angabe der Nummer des zu stoppenden Slot.
        /// </summary>
        /// <param name="slotNumber">Nummer des zu stoppenden SlotMachine-Slot.</param>
        public StopSlotRequestedEventArgs(int slotNumber)
        {
            _slotNumber = slotNumber;
        }

        #endregion // Konstruktoren
    }
}
